<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改评论</title>
    <style>
        a{
            text-decoration: none;
            color: #1106ff;
        }
        textarea:hover{
            background-color: #f0f0f0;
            border: 1px solid black;
            border-radius: 10px;
            box-shadow: 0 0 30px coral;
        }
        textarea:focus{
            border-radius: 10px;
            box-shadow: 0 0 40px blue;
        }
        button{
            color: white;
        }
        button:hover{
            background-color: black;
            border: 1px solid black;
            box-shadow: 0 0 20px black;
        }
        button:focus{
            background-color: black;
            color: black;
            border: 1px solid black;
            box-shadow: 0 0 40px black;
        }
    </style>
</head>
<body>
<div th:insert="~{front/header::head}"></div>
<div style="text-align: center;">
    <form th:action="@{/front/modifyComment}" method="post">
        <input type="hidden" name="id" th:value="${id}">
        <input type="hidden" name="aId" th:value="${aId}">
        <h2>修改评论</h2>
        <label>
            <textarea name="content" rows="5" cols="30"
                      style="resize: none;font-size: 25px;"
                    th:text="${content}" required></textarea>
        </label>
        <br>
        <button type="submit" style="border-radius: 20%;background-color: black;
        font-size: 20px">提交</button>
    </form>
</div>

</body>
</html>